package cate.common.table.activity.newlimitshop.daily_item;

import cate.common.table.ESheet;

import java.util.List;
import java.util.stream.Collectors;

public class NewLimitShopDailyItemSheet extends ESheet<NewLimitShopDailyItemRow> {
    @Override
    public String getSheetName() {
        return "每日商店物品配置";
    }

    public List<NewLimitShopDailyItemRow> getItems(int group, int tag){
        return getList().stream().filter(e -> e.group == group && e.tag == tag).collect(Collectors.toList());
    }
}
